package org.ftz.pojo;
public class Problem { //问题的信息
    private int id;  //题目编号
    private String title; //题目标题
    private String level; //水平
    private String description; //题目描述
    private String testcasepath;
    public Problem(int id, String title, String level, String description, String testcasepath) {
        this.id = id;
        this.title = title;
        this.level = level;
        this.description = description;
        this.testcasepath = testcasepath;
    }
    public Problem() {
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getLevel() {
        return level;
    }
    public void setLevel(String level) {
        this.level = level;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public String getTestcasepath() {
        return testcasepath;
    }
    public void setTestcasepath(String testcasepath) {
        this.testcasepath = testcasepath;
    }
    @Override
    public String toString() {
        return "Problem{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", level='" + level + '\'' +
                ", description='" + description + '\'' +
                ", testcasepath='" + testcasepath + '\'' +
                '}';
    }
}
